package action;

import model.ProjectInfo;
import action.base.BaseAction;

public class GetProjectAction extends BaseAction {
	private Integer pro_id;
	private ProjectInfo itemProject;
	public Integer getPro_id() {
		return pro_id;
	}
	public void setPro_id(Integer proId) {
		pro_id = proId;
	}
	public ProjectInfo getItemProject() {
		return itemProject;
	}
	public void setItemProject(ProjectInfo itemProject) {
		this.itemProject = itemProject;
	}
	public String execute() throws Exception{
		setItemProject(mgp.getProject(pro_id));
		return "success";
	}
}
